/**
 * 
 */
package com.ezhou.hy.exception;

import org.apache.log4j.Logger;

/**
 * @author Administrator
 *
 */
public class DaoException extends Exception {
	private static final long serialVersionUID = 1L;
	private static Logger log = Logger.getLogger(DaoException.class);
	
	public DaoException() {
		super("getDao Exception");
	}
	
	public DaoException(Exception e){
		super(e.toString());
		log.error(e.getMessage());
	}
	
	public DaoException(String message){
		super(message);
		log.error(message);
	}
	
	public void printMessage(){
		
	}

}
